package com.xx.bysj.mapper;

import com.xx.bysj.dto.HnOrderPhoto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HnOrderPhotoMapper {
    int deleteByPrimaryKey(Integer orderPhotoId);

    int insert(HnOrderPhoto record);

    int insertSelective(HnOrderPhoto record);

    HnOrderPhoto selectByPrimaryKey(Integer orderPhotoId);

    int updateByPrimaryKeySelective(HnOrderPhoto record);

    int updateByPrimaryKey(HnOrderPhoto record);

    List<HnOrderPhoto> selectByInfoId(@Param("orderInfoId") Integer orderInfoId);

    void update(HnOrderPhoto photo);

    void deleteByOrderInfoId(@Param("orderInfoId") Integer orderInfoId);
}